package com.bingo.mpa.vo;

import java.util.Date;

public class DateMeta
{
	private String st;
	private String et;
	public String getSt()
	{
		return st;
	}
	public void setSt(String st)
	{
		this.st = st;
	}
	public String getEt()
	{
		return et;
	}
	public void setEt(String et)
	{
		this.et = et;
	}
	public Date getStartTime()
	{
		try{
			if(st != null && st.length()>0)
			return org.apache.commons.lang.time.DateUtils.parseDate(st, new String[]{"yyyy-MM-dd"});
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
		return null;
	}
	public Date getEndTime()
	{
		try{
			if(et != null && et.length()>0)
			return org.apache.commons.lang.time.DateUtils.parseDate(et, new String[]{"yyyy-MM-dd"});
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
		return null;
	}
}
